<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/11/23
  Time: 17:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
</head>
<style>
    p,body {
        padding: 0;
        margin: 0;
    }
    body {
        background-color: rgb(255, 242, 226)
    }
    .rg_layout {
        border-radius: 11px;
        overflow: hidden;
        height: 500px;
        width: 1150px;
        margin: 70px auto;
        background-color: #fff;
        border: 7px solid #eee;
    }
    .rg_left {
        float: left;
        margin: 15px;
    }
    .rg_center {
        float: left;
        margin-top: 130px;
        margin-left: 160px;
    }
    .rg_right {
        margin: 20px;
        float: right;
    }
    .rg_left>p:nth-child(1) {
        color: #ffd026;
        font-size: 20px;
    }
    .rg_left>p:nth-child(2) {
        color: #a6a6a6;
        font-size: 20px;
    }
    .rg_right>p {
        font-size: 14px;
    }
    .rg_right a {
        color: pink;
    }
    .td_left {
        font-size: 19px;
        width: 100px;
        text-align: right;
        height: 45px;
    }
    .td_right {
        padding-left: 30px;
    }
    .td_text {
        width: 251px;
        height: 32px;
        border: 1px solid #A6A6A6;
        border-radius: 5px;
        padding-left: 10px;
    }
    .radio {
        margin-left: 50px;
    }
    .td_submit {
        margin-left: 221px;
        font-size: 19px;
    }
</style>
<body>
<div class="rg_layout">
    <div class="rg_left">
        <p>新用户注册</p>
        <p>USER REGISTER</p>
    </div>
    <div class="rg_center">
        <div class="rg_form">
            <form action="userRegister" method="post">
                <table>
                    <tr><td class="td_left">姓名:</td><td class="td_right"><input class="td_text" type="text" name="uname" placeholder="请输入姓名"></td></tr>
                    <tr><td class="td_left">账号:</td><td class="td_right"><input class="td_text" pattern = "^[0-9A-Za-z]{6,10}$" required="required" type="text" name="uid" placeholder="请输入账号"></td></tr>
                    <tr><td class="td_left">密码:</td><td class="td_right"><input class="td_text" required="required" type="password" name="upwd" placeholder="请输入密码"></td></tr>
                    <tr><td class="td_left">性别:</td><td class="td_right"><input class="radio" type="radio" value="男" name="usex">男<input class="radio" type="radio" name="usex" value="女">女</td></tr>
                    <tr><td colspan="2"><input class="td_submit" type="submit" value="提交"></td></tr>
                </table>
            </form>
        </div>
    </div>
    <div class="rg_right">
        <p>已有账号?<a href="/user/loginPage">立即登录</a></p>
    </div>
</div>
</body>
</html>
